package com.raccoonagents.tools.cascet2d.model.events;


public class KeyEvent {
	private final char charValue;
	private final int key;
	public int getKey() {
		return key;
	}

	private final EventType type;
	
	public char getCharValue() {
		return charValue;
	}

	public EventType getType() {
		return type;
	}

	public static enum EventType{
		TYPED,
		PRESSED,
		RELEASED
	}
	
	public KeyEvent(final char c, final int key, final EventType type){
		this.charValue = c;
		this.type = type;		 
		this.key = key;
	}
	
}
